package com.ruoyi.configuration.mapper;

import java.util.List;
import com.ruoyi.configuration.domain.MgNvitationRewardsConf;
import com.translate.mapper.IBaseMapper;

/**
 * 推荐奖励配置Mapper接口
 * 
 * @author ruoyi
 * @date 2024-01-17
 */
public interface MgNvitationRewardsConfMapper extends IBaseMapper<MgNvitationRewardsConf>
{
    /**
     * 查询推荐奖励配置
     * 
     * @param id 推荐奖励配置主键
     * @return 推荐奖励配置
     */
    public MgNvitationRewardsConf selectMgNvitationRewardsConfById(String id);

    /**
     * 查询推荐奖励配置列表
     * 
     * @param mgNvitationRewardsConf 推荐奖励配置
     * @return 推荐奖励配置集合
     */
    public List<MgNvitationRewardsConf> selectMgNvitationRewardsConfList(MgNvitationRewardsConf mgNvitationRewardsConf);

    /**
     * 新增推荐奖励配置
     * 
     * @param mgNvitationRewardsConf 推荐奖励配置
     * @return 结果
     */
    public int insertMgNvitationRewardsConf(MgNvitationRewardsConf mgNvitationRewardsConf);

    /**
     * 修改推荐奖励配置
     * 
     * @param mgNvitationRewardsConf 推荐奖励配置
     * @return 结果
     */
    public int updateMgNvitationRewardsConf(MgNvitationRewardsConf mgNvitationRewardsConf);

    /**
     * 删除推荐奖励配置
     * 
     * @param id 推荐奖励配置主键
     * @return 结果
     */
    public int deleteMgNvitationRewardsConfById(String id);

    /**
     * 批量删除推荐奖励配置
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMgNvitationRewardsConfByIds(String[] ids);
}
